<table cellpadding="0" cellspacing="0" class="lucklist" style="width:776px">
    <tr>
    <th width="50">&nbsp;</th><th width="190">优惠券宝贝</th><th width="36">数量</th><th width="120">得宝时间</th><th width="70">得宝方式</th><th width="100">优惠券有效期</th><th>优惠代码</th>
    </tr>
</table>
<div style="width:776px;height:260px;overflow-y:scroll;overflow-x:hidden">
    <table cellpadding="0" cellspacing="0" class="lucklist" style="width:766px">
    <?php if (!empty($data['coupon_get']))foreach ($data['coupon_get'] as $da) { ?>    
    <tr>
        <td width="50"><img src="<?=SystemProperties::$app_upload_img_host.$da['product_info']['g_img']?>" width="36" height="36" /></td>
        <td width="190" align="left"><?=show_a_link($da)?></td>
        <td width="36"><?=$da['count']?></td>
        <td width="120"><?=date('Y-m-d',strtotime($da['time']))?></td>
        <td width="70"><?=$da['how_get']=='zhuan'?'赚宝':'换宝'?></td>
        <td width="100"><?=date('Y-m-d',strtotime($da['limit_time']))?></td>        
        <td>编码：<?=$da['coupon']?><br />
        <a class="bta6" style="margin-left:50px" href="<?=empty($da['product_info']['g_extra_url'])?$da['product_info']['g_protal_url']:$da['product_info']['g_extra_url']?>" target="_blank">访问商家官网</a>
        </td>
    </tr>
    <?php } ?>
    </table>        
</div>